home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT Processors.xpl < prev    next >
Text File  |  2000-12-13  |  835b  |  39 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="2"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\CPU"
  5. "NAME"="Windows NT Processors"
  6. "VERSION"="1.02"
  7. "OSVERSION"="01000"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Processors:"
  10. "DESCRIPTION 1"="Defines the licensed number of processors your version of Windows allows."
  11. "DESCRIPTION 2"="For more information, see http://software.oreilly.com/news.cfm?ID_News=143"
  12. "WARNING"="1"
  13.  
  14.  
  15. sV1="HKLM\System\CurrentControlSet\Control\Session Manager\LicensedProcessors" 'DW
  16. Sub Plugin_Initialize 
  17.    s=RegReadValue(sV1)
  18.    Call SetUIElement(1,s)
  19. End Sub
  20.  
  21. Sub Plugin_CheckData(ElementIndex)
  22. End Sub
  23.  
  24. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  25.  s=GetUIElement(1)
  26.  if len(s)>0 then
  27.     Call RegWriteValue(sV1,s,2)
  28.     Call Restart()
  29.  end if
  30.  
  31. End Sub
  32.  
  33.  
  34. Sub Plugin_Terminate 
  35. End Sub
  36.  
  37.  
  38.  
  39.